﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace XYAC.Framework.WohuaMesExtend.IHI.Models
{
    [Table("DwlData")]
    public class DwlData
    {

        [Description("ID")]
        public int ID { get; set; }
        [Description("时间")]
        public DateTime? DTime { get; set; }
        [Description("MSecond")]
        public short? MSecond { get; set; }
        [Description("班组")]
        public String Group { get; set; }
        [Description("规格")]
        public String TypeName { get; set; }
        [Description("上胶片标准")]
        public float? UpSd { get; set; }
        [Description("上胶片公差")]
        public float? UpTol { get; set; }
        [Description("上胶片操作测")]
        public float? UpOpVal { get; set; }
        [Description("上胶片中间")]
        public float? UpMidVal { get; set; }
        [Description("上胶片驱动测")]
        public float? UpDrVal { get; set; }
        [Description("下胶片标准")]
        public float? DownSd { get; set; }
        [Description("下胶片公差")]
        public float? DownTol { get; set; }
        [Description("下胶片操作测")]
        public float? DownOpVal { get; set; }
        [Description("下胶片中间")]
        public float? DownMidVal { get; set; }
        [Description("下胶片驱动测")]
        public float? DownDrVal { get; set; }
        [Description("卷号")]

        public int? JuanHao { get; set; }

        [Description("IsChengeSpeed")]
        public int? IsChengeSpeed { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Description("系统时间")]

        public String SystemState { get; set; }


        //-------------------------------------------------------------------//
        /// <summary>
        /// 机台号
        /// </summary>
        [NotMapped]
        [Description("机台号")]
        public string MachineNo { get; set; }
        /// <summary>
        /// 计划号
        /// </summary>
        [NotMapped]
        [Description("计划号")]
        public string PlanNo { get; set; }
        /// <summary>
        /// 生产规格号
        /// </summary>
        [NotMapped]
        [Description("生产规格号")]

        public string SpecNo { get; set; }
        /// <summary>
        /// ‘PENDING’
        /// </summary>
        [NotMapped]
        [Description("数据同步状态")]
        public string Status { get; set; } = "PENDING";
        /// <summary>
        /// ‘SpecVal’
        /// </summary>
        [NotMapped]
        [Description("数据表名")]
        public string TableName { get; set; } = "DwlData";
        /// <summary>
        /// 条码号
        /// </summary>
        [NotMapped]
        [Description("条码号")]
        public string Sn { get; set; }
    }
}
